Method and device for audio recording

ABSTRACT

An acquisition system includes a processor, one or more sensors operatively coupled to the processor where the one or more sensors acquire at the ear, on the ear or within an ear canal, one or more of acceleration, blood oxygen saturation, blood pressure or heart-rate, and the one or more sensors configured to monitor a biological state or a physical motion or both for an event. The event can be a detection of a discrepancy when compared with a set of reference data by the one or more sensors or the biological state or the event can be one of a detection of an abrupt movement of a headset operatively coupled to the processor, a change in location of an earpiece operatively coupled the processor, a touching of the headset, a recognizing of a voice command, a starting or ending of a phone call, or a scheduled time.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This is an application that is a continuation of U.S. patent applicationSer. No. 16/260,454 filed 29 Jan. 2019, which is a continuation of U.S.patent application Ser. No. 15/790,771, filed on Oct. 23, 2017, now U.S.Pat. No. 10,212,528, which is a continuation of U.S. patent applicationSer. No. 15/137,730, filed on Apr. 25, 2016, now U.S. Pat. No.9,900,718, which is a continuation of U.S. patent application Ser. No.14/576,236, filed Dec. 19, 2014, now U.S. Pat. No. 9,323,899, which is acontinuation of U.S. patent application Ser. No. 14/048,324, filed onOct. 8, 2013, now U.S. Pat. No. 8,918,141, which is a divisional of U.S.patent application Ser. No. 13/556,509, filed on Jul. 24, 2012, now U.S.Pat. No. 8,582,782, which is a continuation of and claims priority toU.S. patent application Ser. No. 12/024,842 filed on Feb. 1, 2008, nowU.S. Pat. No. 8,254,591, which claims the benefit of U.S. ProvisionalPatent Application Ser. No. 60/887,800, filed on Feb. 1, 2007, all ofwhich are herein incorporated by reference in their entireties.

FIELD OF THE INVENTION

The present invention is generally directed to the detection andrecording of acoustic events, and in particular, though not exclusively,to the detection and recording of acoustic events as measured by anearpiece.

BACKGROUND OF THE INVENTION

The human auditory system has been increasingly stressed to toleratehigh noise and sound levels. However, excessive high level exposure overlong durations can damage hearing. Moreover, a user's attention tosounds within the environment can be compromised when media devices suchas music players, cell phones, and Bluetooth™ earpieces deliver audio tothe ear.

In industrial environments where noise is frequently present, workerscan be subject to loud excessive noises over long periods of time inaddition to the sounds presented by the media devices. Although earplugshelp suppress the noise and mitigate the physiological and psychologicaleffects of the noise on the workers, there are few accurate indicationsof the noise exposure to which the workers are subjected.

A need therefore can be appreciated for assessing sound exposure levelsin various environmental settings.

SUMMARY

Embodiments in accordance with the present invention provide a methodand device for audio recording.

At least one exemplary embodiment is directed to the detection andrecording of acoustic events, and in at least one exemplary embodimentis further directed to a device for sound reproduction, sound recording,audio forensics and audio communications using earpieces.

At least one exemplary embodiment is directed to a multiple earpiecedevice (e.g., a headset) which can include a left earpiece, a rightearpiece, a memory and a processor. The left earpiece can include a leftAmbient Sound Microphone (LASM) to capture ambient sound in anenvironment, and a left Ear Canal Microphone (LECM) to capture internalsound in a left ear canal. The right earpiece can include a rightAmbient Sound Microphone (RASM) to capture the ambient sound in theenvironment and a right Ear Canal Microphone (RECM) to capture internalsound in a right ear canal. The internal sound can be an ambient sound,speech, or audio content portion resident in the ear canal. The memory(e.g., RAM) can record a history (e.g., Sound pressure level (SPL) as afunction of time) of the ambient sound and the internal sound, and theprocessor can save a recent portion of the history responsive to anevent. The event can be a touching of the headset, a recognizing of avoice command, a starting or ending of a phone call, or a scheduledtime. In one configuration, the processor can trigger the eventresponsive to detecting an abrupt movement of the headset, or a changein location of the earpiece.

The memory can include a data buffer to temporarily capture the ambientsound and the internal sound, and a storage memory to save from the databuffer the recent portion of the history in a compressed data formatresponsive to a directive by the processor. In one configuration, thedata buffer can be a circular buffer that temporarily stores the ambientsound and the internal sound at a current time point to a previous timepoint. The processor can save a last two minutes of the history, andaudibly present the last two minutes responsive to a user request. Thehistory can be at least one among a conversation, a voice mail, and anaudio recording. Additionally the history can record data (e.g., SPLvalues) from both earpieces. Also note that in at least one exemplaryembodiment a single earpiece can be used. The earpiece can include anaudio interface communicatively coupled to the processor to deliveraudio content by way of a left Ear Canal Receiver (LECR) and a rightECR, wherein the memory records a history of the audio content with theresidual sound and the internal sound. In one arrangement, at least aportion of the left earpiece and a portion of the right earpiece canconstitute a microphone array, and the processor can increase a signalto noise ratio of the audio content with respect to the ambient soundusing the microphone array. The processor can binaurally record theambient sound and the internal sound from the left earpiece and theright earpiece.

At least one further exemplary embodiment is directed to an earpiece atleast partially occluding an ear canal, which can include an AmbientSound Microphone (ASM) to capture ambient sound in an environment, anEar Canal Microphone (ECM) to capture internal sound in the ear canal, amemory to record a history of the ambient sound and the internal sound,and a processor operatively coupled to the ASM, the ECM and the memoryto save a recent portion of the history responsive to an event. Theevent can be a touching of the headset, a recognizing of a voicecommand, a starting or ending of a phone call, a scheduled time, or anabrupt movement of the headset. The processor can save the history of atleast one among a conversation, a voice mail, and an audio recordingresponsive to the event. In another arrangement, the processor canmonitor the ambient sound for a Sound Pressure Level (SPL) change, andin response to detecting the SPL change commit the history to thememory.

At least one further exemplary embodiment is directed to an earpiece atleast partially occluding an ear canal, which can include an AmbientSound Microphone (ASM) to capture ambient sound in an environment, anEar Canal Microphone (ECM) to capture internal sound in the ear canal,an Ear Canal Receiver (ECR) to deliver audio content to an ear canal, amemory to record a history of the ambient sound, the internal sound, andthe audio content, and a processor operatively coupled to the ASM, theECM and the memory to save a recent portion of the history responsive toan event. The processor can continually record the history in thememory. The event can be a touching of the headset, a recognizing of avoice command, a starting or ending of a phone call, or an abruptmovement of the headset.

At least one exemplary embodiment is directed to a method for audiorecording, which can include the steps of measuring ambient sound in anenvironment, measuring internal sound in an ear canal, continuallyrecording a history of the ambient sound and the internal sound, andsaving a recent portion of the history responsive to detecting an event.The step of continually recording can include temporarily saving thehistory to a circular data buffer based on a chosen data managementscheme (e.g., first-in first-out (FIFO)). A time stamp, a location, andthe earpiece (e.g., if there are multiple earpieces) can also berecorded with the history. The method can include recording an audiocontent delivered to the ear canal with the history in a compressed dataformat. The event can be a touching of the headset, a recognizing of avoice command, a starting or ending of a phone call, an abrupt movementof the headset, or a scheduled time.

At least one further exemplary embodiment is directed to a method foraudio recording, which can include measuring ambient sound in anenvironment, measuring internal sound in an ear canal, measuring audiocontent delivered to the ear canal, continually recording a history ofthe ambient sound, the internal sound and the audio content, and savinga recent portion of the history responsive to detecting an event that isat least one among a touching of the headset, a recognizing of a voicecommand, a starting or ending of a phone call, or an abrupt movement ofthe headset. The method can further include data compressing the recentportion of the history in a memory, and issuing a warning message toinform a user when a remaining memory receiving the recent portion ofthe history is below a predetermined value. The recent portion of thehistory can be audibly presented responsive to a user request.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a pictorial diagram of an earpiece in accordance with at leastone exemplary embodiment;

FIG. 2 is a block diagram of the earpiece in accordance with at leastone exemplary embodiment;

FIG. 3 is a flowchart of a method for audio recording in accordance withat least one exemplary embodiment;

FIG. 4 is a block diagram for audio selection in accordance with atleast one exemplary embodiment;

FIG. 5 is a block diagram for always-on binaural recording in accordancewith at least one exemplary embodiment;

FIG. 6 is a block diagram for activating audio recording in accordancewith at least one exemplary embodiment;

FIG. 7 is a flowchart of a method for transient event detection inaccordance with at least one exemplary embodiment;

FIG. 8 is a flowchart of a method for event detection in accordance withat least one exemplary embodiment;

FIG. 9 is a flowchart of a method for forensic audio evaluation inaccordance with at least one exemplary embodiment;

FIG. 10 is a flowchart of a method for low remaining-memory warning inaccordance with at least one exemplary embodiment;

FIG. 11 is a flowchart of a method for remaining record-time inaccordance with at least one exemplary embodiment; and

FIG. 12 is a flowchart of a method for remaining memory in accordancewith at least one exemplary embodiment.

DETAILED DESCRIPTION

The following description of at least one exemplary embodiment is merelyillustrative in nature and is in no way intended to limit the invention,its application, or uses.

Processes, techniques, apparatus, and materials as known by one ofordinary skill in the relevant art may not be discussed in detail butare intended to be part of the enabling description where appropriate,for example the fabrication and use of transducers.

In all of the examples illustrated and discussed herein, any specificvalues, for example the sound pressure level change, should beinterpreted to be illustrative only and non-limiting. Thus, otherexamples of the exemplary embodiments could have different values.

Note that similar reference numerals and letters refer to similar itemsin the following figures, and thus once an item is defined in onefigure, it may not be discussed for following figures.

Note that herein when referring to correcting or preventing an error ordamage (e.g., hearing damage), a reduction of the damage or error and/ora correction of the damage or error are intended.

At least one exemplary embodiment of the invention is directed to anearpiece for ambient sound monitoring and warning detection. Referenceis made to FIG. 1 in which an earpiece device, generally indicated asearpiece 100, is constructed and operates in accordance with at leastone exemplary embodiment of the invention. As illustrated, earpiece 100depicts an electro-acoustical assembly 113 for an in-the-ear acousticassembly, as it would typically be placed in the ear canal 131 of a user135. The earpiece 100 can be an in the ear earpiece, behind the earearpiece, receiver in the ear, open-fit device, or any other suitableearpiece type. The earpiece 100 can be partially or fully occluded inthe ear canal 131, and is suitable for use with users having healthy orabnormal auditory functioning.

Earpiece 100 includes an Ambient Sound Microphone (ASM) I11 to captureambient sound, an Ear Canal Receiver (ECR) 125 to deliver audio to anear canal 131, and an Ear Canal Microphone (ECM) 123 to assess a soundexposure level within the ear canal 131. The earpiece 100 can partiallyor fully occlude the ear canal 131 to provide various degrees ofacoustic isolation. The assembly is designed to be inserted into theusers ear canal 131, and to form an acoustic seal with the walls 129 ofthe ear canal at a location 127 between the entrance 117 to the earcanal 131 and the tympanic membrane (or ear drum) 133. Such a seal istypically achieved by means of a soft and compliant housing of assembly113. Such a seal creates a closed cavity 131 of approximately 5 ccbetween the in-ear assembly 113 and the tympanic membrane 133. As aresult of this seal, the ECR (speaker) 125 is able to generate a fullrange bass response when reproducing sounds for the user. This seal alsoserves to significantly reduce the sound pressure level at the user'seardrum 133 resulting from the sound field at the entrance to the earcanal 131. This seal is also a basis for a sound isolating performanceof the electro-acoustic assembly 113.

Located adjacent to the ECR 125, is the ECM 123, which is acousticallycoupled to the (closed) ear canal cavity 131. One of its functions isthat of measuring the sound pressure level in the ear canal cavity 131as a part of testing the hearing acuity of the user as well asconfirming the integrity of the acoustic seal and the working conditionof the earpiece 100. In one arrangement, the ASM I11 can be housed inthe assembly 113 to monitor sound pressure at the entrance to theoccluded or partially occluded ear canal 131. All transducers shown canreceive or transmit audio signals to a processor 121 that undertakesaudio signal processing and provides a transceiver for audio via thewired or wireless communication path 119.

Referring to FIG. 2, a block diagram 200 of the earpiece 100 inaccordance with an exemplary embodiment is shown. As illustrated, theearpiece 100 can include the processor 121 operatively coupled to theASM 111, ECR 125, and ECM 123 via one or more Analog to DigitalConverters (ADC) 202 and Digital to Analog Converters (DAC) 203. Theprocessor 121 can utilize computing technologies such as amicroprocessor, Application Specific Integrated Chip (ASIC), and/ordigital signal processor (DSP) with associated storage memory 208 suchas Flash, ROM, RAM, SRAM, DRAM or other memory based technologies forcontrolling operations of the earpiece device 100. The processor 121 canalso include a clock to record a time stamp.

The memory 208 can store program instructions for execution on theprocessor 121 as well as captured audio processing data. For instance,memory 208 can be off-chip and external to the processor 121, andinclude a data buffer 209 to temporarily capture the ambient sound andthe internal sound as a history, and a storage memory to save from thedata buffer the recent portion of the history in a compressed dataformat responsive to a directive by the processor. The data buffer 209can be a circular buffer that temporarily stores audio sound at acurrent time point to a previous time point. It should also be notedthat the data buffer 209 can in one configuration reside on theprocessor 121 to provide high speed data access. The storage memory 208can be non-volatile memory such as SRAM to store captured or compresseddata format.

The earpiece 100 can include an audio interface 212 operatively coupledto the processor 121 to receive audio content, for example from a mediaplayer or cell phone, and deliver the audio content to the processor121. The processor 121 responsive to detecting events can among variousoperations save the history in the data buffer 209 to the longer termstorage memory 208. The processor 121 by way of the ECM 123 can alsoactively monitor the internal sound exposure level inside the ear canal131 and adjust the audio to within a safe and subjectively optimizedlistening level range.

The earpiece 100 can further include a transceiver 204 that can supportsingly or in combination any number of wireless access technologiesincluding without limitation Bluetooth™, Wireless Fidelity (WiFi),Worldwide Interoperability for Microwave Access (WiMAX), and/or othershort or long range communication protocols. The transceiver 204 canalso provide support for dynamic downloading over-the-air to theearpiece 100. It should be noted that next generation accesstechnologies can also be applied to the present disclosure.

The location receiver 232 can utilize common technology such as a commonGPS (Global Positioning System) receiver that can intercept satellitesignals and therefrom determine a location fix of the earpiece 100.

The power supply 210 can utilize common power management technologiessuch as replaceable batteries, supply regulation technologies, andcharging system technologies for supplying energy to the components ofthe earpiece 100 and to facilitate portable applications. A motor (notshown) can be a single supply motor driver coupled to the power supply210 to improve sensory input via haptic vibration. As an example, theprocessor 121 can direct the motor to vibrate responsive to an action,such as a detection of a warning sound or an incoming voice call.

The earpiece 100 can further represent a single operational device or afamily of devices configured in a master-slave arrangement, for example,a mobile device and an earpiece. In the latter embodiment, thecomponents of the earpiece 100 can be reused in different form factorsfor the master and slave devices.

FIG. 3 is a flowchart of a method 250 for audio recording in accordancewith an exemplary embodiment. The method 250 can be practiced with moreor less than the number of steps shown and is not limited to the ordershown. To describe the method 250, reference will be made to componentsof FIG. 1 and FIG. 2, although it is understood that the method 250 canbe implemented in any other manner using other suitable components. Themethod 250 can be implemented in a single earpiece, a pair of earpieces,headphones, or other suitable headset audio delivery device.

The method 250 can start in a state wherein the earpiece 100 has beeninserted and powered on. As shown in step 252, the earpiece 100 canmeasure ambient sounds in the environment received at the ASM 111.Ambient sounds correspond to sounds within the environment such as thesound of traffic noise, street noise, conversation babble, or any otheracoustic sound. Ambient sounds can also correspond to industrial soundspresent in an industrial setting, such as factory noise, liftingvehicles, automobiles, and robots to name a few.

Although the earpiece 100 when inserted in the ear can partially occludethe ear canal, the earpiece 100 may not completely attenuate the ambientsound. During the measuring of ambient sounds in the environment, theearpiece 100 can also measure internal sounds, such as ear canal levels,via the ECM 123 as shown in step 254. The passive aspect of the earpiece100, due to the mechanical and sealing properties, can provide upwardsof a 22 dB noise reduction. However, portions of ambient sounds higherthan the noise reduction level may still pass through the earpiece 100into the ear canal thereby producing residual sounds. For instance, highenergy low frequency sounds may not be completely attenuated.Accordingly, residual sound may be resident in the ear canal producinginternal sounds that can be measured by the ECM 123. Internal sounds canalso correspond to spoken voice when the user is speaking or audiocontent delivered by the ECR 125 to the ear canal 131 by way of theaudio interface 212.

If at step 256, audio is playing (e.g., music, cell phone, etc.), theearpiece 100 at step 258 can capture audio content directed to the ECR125. Portions of the audio content can be saved in the data buffer 209with the ambient sound and internal sounds. For instance, the audiointerface 212 can deliver sound to the occluded ear canal 131 via theECR 125. The audio interface 212 can receive the audio content from atleast one among a portable music player, a cell phone, and a portablecommunication device. For instance, a user can elect to play musicthrough the earpiece 100 which can be audibly presented to the ear canal131 for listening. The user can also elect to receive voicecommunications (e.g., cell phone, voice mail, messaging) via theearpiece 100. The user can receive audio content for voice mail or aphone call directed to the ear canal via the ECR 125.

At step 260, the data buffer 209 temporarily records a history of theambient sound and the internal sound; and if present, the audio content.The internal sound can correspond to residual ambient sound in the earcanal, speech generated by the user wearing the earpiece 100 whentalking, or audio content delivered from the audio interface 212 from amedia device (e.g., iPod®, cell phone, radio, etc.). The history cancorrespond to at least one among a conversation, a voice mail, and anaudio recording. For instance, the portions of audio data from a voicemail can be stored for later retrieval (e.g., phone number, address,names, etc.).

Notably, the data buffer 209 stores the ambient sound from the ASM I11and internal sound from the ECM 123 only temporarily until an event isdetected. In one arrangement, the data buffer 209 can temporarily storeat least 2 minutes of recording history. The data buffer 209 continuallybuffers in data while the last data samples in time (unable to be storedin the data buffer 209 due to limited memory) are discarded from thedata buffer 209 to make room for the new data. The processor 121 canalso interleave the data onto the data buffer 209 during real-timecontinuous data acquisition.

If at step 262, an event is detected the processor can proceed to save ahistory of the ambient sound, internal sound, and audio content in thedata buffer 209 to the memory 208. An event can correspond to a userevent such as a touching of the headset, a recognizing of a voicecommand, a starting or ending of a phone call, or a scheduled event. Theevent can also be due to a change in Sound Pressure Level (SPL) or adetected sound signature; that is, a specific sound within the ambientsound (e.g. “horn”, “siren”, “help”). The processor 121 can monitor theambient sound for a Sound Pressure Level (SPL) change event, and inresponse to detecting the SPL change event commits the audio history onthe data buffer 209 to the memory 208. For instance, the earpiece 100can commit recently captured data on the data buffer 209 to the memory208 responsive to detecting a loud explosion or crashing sound. Theearpiece 100 can continue back to step 260 if an event is not detected,while continuing to monitor for events at step 262.

The event can also correspond to an abrupt movement or a change inlocation of the earpiece 100. For instance, the processor can triggerthe event responsive to detecting an abrupt movement of the headset, forinstance, due to an accident, or a change in location of the earpiece,for instance, an abrupt aggregated movement. In such regard, theearpiece 100 performs as a black box to record the few minutes prior toan event. Notably, this audio history is available on the data buffer209 at the time of the event. Moreover, if dual earpieces are used(e.g., headphones), the processor 121 can binaurally record the ambientsound and the internal sound (and, if present, the audio content) from aleft earpiece and a right earpiece. The binaural data can be furtheranalyzed to identify a location of sound sources triggering the event.

Upon detecting the event at step 262, the processor 121 can apply datacompression techniques to reduce the dimensionality of the data as shownin step 264. The processor 121 can retrieve data from the data buffer209, compress the data, and store the data in the storage memory 208 asshown in step 266. For instance, the processor 121 can implement a voicecoding (vocoder) operation to compress the data from Pulse CodeModulation (PCM) format to a smaller memory footprint format (e.g.,EFR723, EFR726, EFR729). If audio content is present, the processor 121can stream the data from audio interface 212 in an already compressedformat (e.g., MP3, AAC, WMA, etc.) Other audio compression techniquescan be used for storing the data to the memory 208.

The processor 121 can also time stamp the data (e.g., D/M/Y, hh:mm:ss,etc.) and record a location (e.g., latitude, longitude, elevation,degrees) of the earpiece at the time of the event, as shown in step 268.For instance, in response to an abrupt movement of the earpiece 100 dueto an accident, the processor 121 can capture the history of the audioprior to the accident, as well as the time and the location. Thisinformation can then be reported to a system that monitors the earpiece100 for reporting a potential accident or alarming incident. Theprocessor 121, can also tag the data in the storage memory 208 with afilename or header that reflects the condition of the user event. Forinstance, the header can be saved with the history and include the timestamp, location, and event type (user initiated, abrupt movement,location change, etc.).

If at step 270 a user request (or any other request) is initiated toretrieve stored data, the earpiece 100 can audibly present the recentportion of the history to the user via the ECR 125, as shown in step272. The recent portion can include any historic audio data previouslycaptured (by way of ASM, ECM, ECR) and stored to the memory 208.Notably, the processor 121 can keep track (e.g., look-up table) of therecent portions stored in the memory 208. For instance, a first entry inthe memory 208 can correspond to a recording at 1 PM, and a second entrycan correspond to a recording at 1:40 PM. The earpiece 100 can continueback to step 260 if a user request is not received, and continue tomonitor for a user request.

The user request can also correspond to a system request to retrieveaudio data from the earpiece 100. For instance, the user can subscribeto a service that stores the audio data when memory capacity is reached.Upon the processor determining that memory capacity is full, theearpiece 100 by way of the transceiver 204 can inform the service toretrieve (upload) data from the earpiece. A service provider of theservice can then download the data from the earpiece 100 andforensically analyze content within the audio (e.g., spoken commands,passing sounds, voice identification, etc.)

FIG. 4 is a block diagram 300 for audio selection in accordance with anexemplary embodiment. To describe the block diagram 300, reference willbe made to components of FIG. 2, although it is understood that theblock diagram 300 can be implemented in any other manner using othersuitable components. The block diagram 300 can be implemented in asingle earpiece, a pair of earpieces, headphones, or other suitableheadset audio delivery device.

Block diagram 300 describes an input audio channel selection system toselect which audio signals are recorded using an “Always-on” BinauralRecording System (AOBRS). Input signals to the AOBRS comprise the signalgenerated by one or both the Ear Canal Microphones (left ECM 313 andright ECM 315), which are processed using gain and equalizer (EQ)circuitry 317 (which may be implemented using analog or digitalelectronics). Other input signals may comprise one or both Ambient SoundMicrophones (left ASM 303 and right ASM 305) from separate left andright headset electroacoustic assemblies, or from the output of multipleASM signals in the same right headset electroacoustic assembly. The ASMsignals are processed using gain and equalizer circuitry 311 (which maybe implemented using analog or digital electronics) housed in assembly113. Audio Content 319 can be recorded during simultaneous reproductionwith left and right Ear Canal Receivers 333, 335, via the automatic gaincontrol (AGC) circuitry 321 (which may comprise either or both analog ordigital signal processing). Audio Content 319 may be, for example, froma cell-phone 301; a Personal Media Player (PMP) 307; or an auditorywarning signal 309 such as a low battery alarm generated by the AOBRS orfrom a second device such as a second data storage system. The audiosignals from circuitry 317, 319, 311, and 321 are selected for recording337 using the switching assembly 323, and configured either manuallywith user input system 325 (e.g. using buttons mounted on theelectroacoustic headset system) or with automatic selection 327 whichmay be initiated in response to a specific record start/stop command,for example, generated by the system 449 described in FIG. 6.

FIG. 5 is a block diagram 400 for an “Always-On” Binaural RecordingSystem (AOBRS) in accordance with an exemplary embodiment. To describethe block diagram 400, reference will be made to components of FIG. 2,although it is understood that the block diagram 400 can be implementedin any other manner using other suitable components. The block diagram400 can be implemented in a single earpiece, a pair of earpieces,headphones, or other suitable headset audio delivery device.

Following activation at step 421 and selection (300 shown in FIG. 4) ofthe audio signals to be recorded (for example, by manual operation 425),the selected audio signals 437 are analyzed by the recording activationcircuitry 449 described in FIG. 6. Depending on the operating modeselected 441 (for example, by user input 426), the audio input audiosignals 437 are first processed by an optional audio signal CODEC 439,which may reduce the data bit-rate of the signal using either a lossy orlossless data compression system. The audio data is then continuouslyrecorded to a circular data buffer 443 which in the preferred embodimentis housed within the earpiece 100, or on a second device such as aPersonal media player (PMP). The circular buffer 443 consists ofcomputer memory, and is a familiar device for those skilled in the art.Following recording activation determined by decision unit 445, thecontents of the circular data buffer 443 are recorded to a secondnon-volatile memory 450, which may be at a compressed data rate usingaudio signal CODEC 447 (which may use a lossy or loss-less datacompression system) receiving recorded audio 448. The recording maycontinue until a stop recording signal is generated 453. With either awired or wireless data communication system 452, the contents of thedata storage 450 may be stored on a separate data memory device 451,such as a portable hard drive. The remaining data memory of either orboth systems 450 and 451 are monitored using a low memory warning system(see 600 FIG. 10), which alert the user when remaining memory is low. Aremote audio forensic analysis system 559 described in FIG. 9 cananalyze the contents of the first 450 or second 451 audio data storagesystem, for example, following a detected accident.

FIG. 6 is a block diagram for activating audio recording by recordingactivation circuitry 449 in accordance with an exemplary embodiment. Todescribe the block diagram, reference will be made to components of FIG.2, although it is understood that the block diagram can be implementedin any other manner using other suitable components. The block diagramcan be implemented in a single earpiece, a pair of earpieces,headphones, or other suitable headset audio delivery device.

The input audio signal for analysis are selected with the input channelselection system 300 described in FIG. 4. The signals 454 comprise theASM signals from one or both earphones (though different audio signalsmay be recorded to data memory for storage). A keyword detector module455 analyzes the input signals 454 and activates or deactivatesrecording 453 if specific verbal commands are detected (e.g. “Start”,“Stop”, which may be in multiple languages). Alternatively oradditionally, a method 459 for Transient Event Detection (described inFIG. 7) generates a stop or start signal to the system 300 in responseto a detected transient in signal 454 with a particular temporalenvelope profile. Alternatively or additionally, an accident detectormodule 500 (see FIG. 8) generates a stop or start signal to the system300 in response to a particular user biological state or movement.Alternately or additionally, a stop or start signal 453 is generated tothe system 300 in response to a manual user activation 457, such as witha switch mounted on the earphone assembly.

FIG. 7 is a flowchart further detailing the method 459 for transientevent detection in accordance with an exemplary embodiment. The method459 can include more or less than the number of steps shown and is notlimited to the order of the steps. To describe the method 459, referencewill be made to components of FIG. 2, although it is understood that themethod 459 can be implemented in any other manner using other suitablecomponents. The method 459 can be implemented in a single earpiece, apair of earpieces, headphones, or other suitable headset audio deliverydevice.

Transient Event detection generates a stop or start signal to the system300 in response to a detected transient in either or both the ASMsignals 403, 404 (which may be from the same or different earphones).The audio data is continuously recorded to a circular data buffer 443,and a recent history of data samples (e.g. the past 10 ms) is used toestimate the SPL 461 at the entrance to the occluded ear canal 131 (e.g.in dB). The Background Noise Level (BNL) is also estimated at step 463from a running time-smoothed average of the SPL, which may use circuitryto remove transient peaks in the SPL to calculate the BNL. If thedecision unit 467 deems that the difference between the SPL 461 and BNL463 is less than a predefined amount (which may be determined on afrequency selective basis)—as calculated with unit 465—then therecording is stopped 469 if it is already activated. If the recording isalready active, then the Transient Detection Timer (TDT) 471 (which isthe time since recording was activated) is compared with a predefinedconstant 475 using comparator 477, and if the TDT 471 is greater thanthe threshold 475 then recording is stopped 483. Alternatively, if aloud transient is detected 467, then the TDT clock is started 479 andrecording of the circular buffer 443 to a second data storage device isinitiated; and if recording is already activated (as determined at step473), the TDT clock is reset and restarted, at step 481.

FIG. 8 is a flowchart of a method 500 for event detection in accordancewith an exemplary embodiment. The method 500 can include more or lessthan the number of steps shown and is not limited to the order of thesteps. To describe the method 500, reference will be made to componentsof FIG. 2, although it is understood that the method 500 can beimplemented in any other manner using other suitable components. Themethod 500 can be implemented in a single earpiece, a pair of earpieces,headphones, or other suitable headset audio delivery device.

In one embodiment, the method 500 describes an accident detectionplatform, with the purpose of recording the audio signals selected inthe system 300 process in FIG. 4 in response to a detected accidentinvolving an AOBRS user. Following activation of accident detection 585,aspects of both the User's health 587 and physical motion 589 can besimultaneously and continuously monitored. Aspects of user health mayinclude (but are not limited to) blood oxygen saturation 591, bloodpressure 593 and heart-rate 595. These health aspects may be monitoredusing a probe mounted on the earphone device. The resulting biometricdata 501 is compared SOS with a set of reference (normal, healthy) data507, which may be from a database adapted to the particular user, orfrom a database generalized for users of a similar age, sex etc. If thecomparison SOS of current biometric data 501 and reference data 507indicates a sudden discrepancy, such as a drop in blood pressure 593,then decision unit 509 initiates a specific response 511. The usermotion sensor system 589 monitors the location of the user using eitherof or a combination of analysis of the sound level at each earphone 597using the output of the ASMs 403, 404 in both the left and rightearphone; and/or an analysis of the spatial acceleration of the earphonedevice using accelerometers 599 and or internal sensors housed withinthe earphone assembly. If either or both the motion sensors 597, 599indicate a sudden movement indicative of a fall, then decision unit 503initiates a specific response 511. Such specific responses includestarting the binaural recording system 513, and transmitting selectedaudio signals (see FIG. 4) to a second data storage device 515, whichmay involve a wireless data communication system 517, and mayautomatically invoke a system to alert the emergency services of adetected accident involving the AOBRS user 519.

FIG. 9 is a flowchart of a method 559 for forensic audio evaluation inaccordance with an exemplary embodiment. The method 559 can include moreor less than the number of steps shown and is not limited to the orderof the steps. To describe the method 559, reference will be made tocomponents of FIG. 2, although it is understood that the method 559 canbe implemented in any other manner using other suitable components. Themethod 559 can be implemented in a single earpiece, a pair of earpieces,headphones, or other suitable headset audio delivery device.

Method 559 describes an audio forensics system for transferringrecording audio data 537 from memory on the earphone 550 or a seconddata storage system 551 to an online server 537 for analysis 539 (forexample, via Internet 531), or automatic speech-to-text processing 533,535. The recorded audio data 536, (responsive to record start/stopmodule 535), is time-stamped 520 to mark when the recording commenced,and time-stamps may be embedded in the recorded data stream at regularintervals or to mark significant events such as detected transientevents (FIG. 7). Transmission of data 529 recorded on non-volatilememory in the earphone 550 to a second data system may be invokedautomatically by decision unit 525 when an in-cradle detection system527 detects that the earphones are located in a docking station (e.g.for recharging batteries). Alternatively, or additionally, transmissionof data 529 recorded on non-volatile memory in the earphone 550 to asecond data system 551 may be invoked automatically whenever the AOBRSdetects 523 the presence of a wireless communication system 521, such asWifi or Bluetooth.

FIG. 10 is a flowchart of a method 600 for low remaining-memory warningin accordance with an exemplary embodiment. The method 600 can includemore or less than the number of steps shown and is not limited to theorder of the steps. To describe the method 600, reference will be madeto components of FIG. 2, although it is understood that the method 600can be implemented in any other manner using other suitable components.The method 600 can be implemented in a single earpiece, a pair ofearpieces, headphones, or other suitable headset audio delivery device.

The method 600 can inform the user when the remaining data memory forstorage of audio signals in the system 300 is critically low (similar toa low battery alarm). The record start/stop module 635 can get audiofrom the input buffer at step 636, and input the audio signal at step638, to the non-volatile memory 208 on the earpiece 100 as shown in 651.A time stamp 620 can be included with the recorded audio signal.

During recording, the processor 121 at step 637 proceeds to determine ifa total remaining record time is available. If the remaining record timeis not available, the processor 121 can calculate it as shown in step700 (see FIG. 11) and store the remaining record time to memory at step643. At step 645 the processor 121 then determines if the totalremaining record time is low. If the total record time is not low, themethod proceeds back to step 636 to get the next audio from the inputbuffer. If however, the total record time is low, a low-memory warningmessage generation system 800 (see FIG. 12) generates a low memorywarning message at step 801. Upon delivering the low-memory warningmessage, a determination is made at step 647 to continue recording. Therecording can stop at step 648, for example, in response to a userrequest or automatic event detection. The method 600 can proceed back tostep 636 to get the next audio data if the recording is continued.

FIG. 11 is a flowchart of a method 700 for remaining record-time inaccordance with an exemplary embodiment. The method 700 can include moreor less than the number of steps shown and is not limited to the orderof the steps. To describe the method 700, reference will be made tocomponents of FIG. 2, although it is understood that the method 700 canbe implemented in any other manner using other suitable components. Themethod 700 can be implemented in a single earpiece, a pair of earpieces,headphones, or other suitable headset audio delivery device.

At step 750, the method 700 can start. At step 751, the processor 121can determine if a total remaining memory of data storage of a device isknown. If the total remaining memory is known, and the recording datarate is known at step 755, the data can be recorded at a designatedrecording rate as shown in step 761 based on the remaining memory andthe data rate. If the recording rate is not known at step 755, theprocessor 121 can calculate the recording data rate at step 759 (e.g.,512 kps).

If however at step 751, the total remaining memory is not known, theprocessor 121 can calculate a total remaining memory of data storage atstep 752 using the non-volatile memory on the earpiece 100 from step754. At step 753, the total remaining memory of the device can be usedin step 757 to estimate a remaining recording time (A/B). At step 763,the total remaining recording time can be output. For instance, upon thecompletion of method 700, the earpiece 100 can present a warningindication with the total remaining recording time left on the earpiece100.

FIG. 12 is a flowchart of a method 800 for remaining memory inaccordance with an exemplary embodiment. The method 800 can include moreor less than the number of steps shown and is not limited to the orderof the steps. To describe the method 800, reference will be made tocomponents of FIG. 2, although it is understood that the method 800 canbe implemented in any other manner using other suitable components. Themethod 800 can be implemented in a single earpiece, a pair of earpieces,headphones, or other suitable headset audio delivery device.

Briefly, method 800 prioritizes warning levels for reporting based onmemory usage and remaining memory capacity. The method 800 can startwhen the “always-on” binaural recording feature is running on theearpiece 100. Notably, the memory 208 will be filled as recent portionsof audio history are committed to the memory 208. The processor 121 canperiodically check the memory capacity to determine when, and a type ofwarning message, to be sent to the user.

At step 867, the processor 121 can compare the remaining memory to awarning memory threshold (WMT_2) indicated in a database 865. Forinstance, the WMT_2 can be set to 5% remaining capacity. If theremaining memory is greater than the WMT_2 (>95% used capacity), theprocessor 121 can assign a priority level 1 and generate a polite verbalwarning message to the user at step 873. The audio output of the warningmessage can be conditioned (e.g., gain, EQ) at step 821 and delivered tothe user via the left ECR 833 and right ECR 835 of the earpiece. Ifhowever at step 871, the remaining memory is less than the WMT_2, butgreater than a WMT_3, the processor 121 can assign a priority level2 andgenerate a repeating warning message (obtrusive auditory alarm) audiblypresented to the user as shown in step 875. If however at step 871, theremaining memory is less than a WMT_3 retrieved from data base 869, theprocessor 121 can assign a priority level 3 and generate a final verbalwarning message to the user at step 877.

While the present invention has been described with reference toexemplary embodiments, it is to be understood that the invention is notlimited to the disclosed exemplary embodiments. The scope of thefollowing claims is to be accorded the broadest interpretation so as toencompass all modifications, equivalent structures and functions of therelevant exemplary embodiments. Thus, the description of the inventionis merely exemplary in nature and, thus, variations that do not departfrom the gist of the invention are intended to be within the scope ofthe exemplary embodiments of the present invention. Such variations arenot to be regarded as a departure from the spirit and scope of thepresent invention.

We claim:
 1. An earpiece, comprising: a processor; at least one ambient microphone measuring ambient sound; an ear canal microphone, where the processor is operatively connected to the at least one ambient microphone, where the processor is operatively connected to the ear canal microphone; and a motion detection sensor within the earpiece communicatively linked to the processor where the sensor is at least one of an accelerometer or GPS, wherein the processor performs operations comprising: monitoring the orientation or location of the earphone or user based on an analysis of a motion detection sensor data of the earpiece; monitoring a location of a vocalization based on analyzing an output signal of the at least one ambient microphone: detecting, based on the comparing, an event, wherein the event is detected based on a discrepancy resulting between acceleration data from the motion detection sensor and a set of reference data; wherein the event comprises at least one of a movement of a headset coupled to the processor, a touching of the headset, a tapping of the headset, a pressing of a button, a change in location of the earpiece, a recognizing vocalization of the user, a starting or ending of a call, or a combination thereof; and initiating a response in response to the detecting of the event.
 2. The system of claim 1, further comprising saving a temporal portion of ambient sound, audio content, or a combination thereof in a buffer.
 3. The system of claim 2, further comprising applying a compression technique to data in the buffer to reduce a dimensionality of the data.
 4. The system of claim 3, further comprising streaming the compressed data from an audio interface.
 5. The system of claim 4, further comprising recording the location of the earpiece at a time of the event.
 6. The system of claim 5, further comprising tagging data held in a memory of the earpiece with a filename or header that reflects a condition associated with the event. 